Platform Explorer / Nuxeo Platform 2025.27

Extension point caches

Documentation

Extension Point to define a new cache . 20m

  • The class attribute may specify a class that implements the CacheManagement interface. The default implementation 'org.nuxeo.ecm.core.cache.InMemoryCacheImpl' is based on Google Guava.

    The max size set the max number of elements contained in the cache

    The Time To Live accepts a Duration format (e.g. 20m, 2h, PT30S) or, for backward compatibility, a plain number interpreted as a number of minutes

    The concurrency level, number of thread that can access at the same time the cache

  • Contribution Descriptors

    • Class: org.nuxeo.ecm.core.cache.CacheDescriptor

    Existing Contributions

    Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

    • nuxeo-runtime-2025.27.34.jar /opt/nuxeo/server/nxserver/config/cache-config.xml
      <extension point="caches" target="org.nuxeo.ecm.core.cache.CacheService">
          <cache copy="default-cache" name="user-entry-cache"/>
          <cache copy="default-cache" name="user-entry-cache-without-references"/>
          <cache copy="default-cache" name="group-entry-cache"/>
          <cache copy="default-cache" name="group-entry-cache-without-references"/>
          <cache copy="default-cache" name="digestauth-entry-cache"/>
          <cache copy="default-cache" name="digestauth-entry-cache-without-references"/>
        </extension>
    • nuxeo-core-cache-2025.27.34.jar /OSGI-INF/cache-contrib.xml
      <extension point="caches" target="org.nuxeo.ecm.core.cache.CacheService">
          <cache name="default-cache">
            <ttl>20m</ttl>
            <option name="maxSize">10000</option>
            <option name="concurrencyLevel">500</option>
          </cache>
        </extension>
    • nuxeo-liveconnect-2025.27.34.jar /OSGI-INF/liveconnect-box-cache-config.xml
      <extension point="caches" target="org.nuxeo.ecm.core.cache.CacheService">
      
          <cache name="box">
            <option name="maxSize">1000</option>
            <option name="concurrencyLevel">10</option>
            <ttl>1h</ttl>
          </cache>
      
        </extension>
    • nuxeo-liveconnect-2025.27.34.jar /OSGI-INF/liveconnect-googledrive-cache-config.xml
      <extension point="caches" target="org.nuxeo.ecm.core.cache.CacheService">
      
          <cache name="googleDrive">
            <option name="maxSize">1000</option>
            <option name="concurrencyLevel">10</option>
            <ttl>1h</ttl>
          </cache>
      
        </extension>
    • nuxeo-multi-tenant-core-2025.27.34.jar /OSGI-INF/directories-cache-contrib.xml
      <extension point="caches" target="org.nuxeo.ecm.core.cache.CacheService">
      
          <cache name="multi-tenant-default-cache">
            <ttl>1h</ttl>
            <option name="maxSize">1000</option>
          </cache>
      
          <cache copy="multi-tenant-default-cache" name="tenants-cache"/>
          <cache copy="multi-tenant-default-cache" name="tenants-cache-without-ref"/>
          <cache copy="multi-tenant-default-cache" name="topic-cache-without-ref"/>
          <cache copy="multi-tenant-default-cache" name="topic-cache"/>
          <cache copy="multi-tenant-default-cache" name="subtopic-cache-without-ref"/>
          <cache copy="multi-tenant-default-cache" name="subtopic-cache"/>
          <cache copy="multi-tenant-default-cache" name="l10nsubjects-cache-without-ref"/>
          <cache copy="multi-tenant-default-cache" name="l10nsubjects-cache"/>
          <cache copy="multi-tenant-default-cache" name="l10ncoverage-cache-without-ref"/>
          <cache copy="multi-tenant-default-cache" name="l10ncoverage-cache"/>
      
        </extension>
    • nuxeo-platform-default-config-2025.27.34.jar /OSGI-INF/default-cache-contrib.xml
      <extension point="caches" target="org.nuxeo.ecm.core.cache.CacheService">
          <cache name="vocabulary-default-cache">
            <ttl>1h</ttl>
            <option name="maxSize">1000</option>
            <option name="concurrencyLevel">10</option>
          </cache>
      
          <cache copy="vocabulary-default-cache" name="cache-vocabulary"/>
          <cache copy="vocabulary-default-cache" name="cache-xvocabulary"/>
          <cache copy="vocabulary-default-cache" name="cache-l10nxvocabulary"/>
          <cache copy="vocabulary-default-cache" name="cache-documentsLists"/>
        </extension>
    • nuxeo-platform-login-token-2025.27.34.jar /OSGI-INF/token-authentication-cache-contrib.xml
      <extension point="caches" target="org.nuxeo.ecm.core.cache.CacheService">
      
          <cache name="authTokens-entry-cache">
            <ttl>5m</ttl>
            <option name="maxSize">1000</option>
            <option name="concurrencyLevel">10</option>
          </cache>
          <cache copy="authTokens-entry-cache" name="authTokens-entry-cache-noref"/>
      
        </extension>
    • nuxeo-routing-core-2025.27.34.jar /OSGI-INF/document-routing-cache-contrib.xml
      <extension point="caches" target="org.nuxeo.ecm.core.cache.CacheService">
      
          <cache name="workflowModels">
            <ttl>10m</ttl>
            <option name="maxSize">100</option>
          </cache>
      
        </extension>
    • nuxeo-routing-default-2025.27.34.jar /OSGI-INF/extensions.xml
      <extension point="caches" target="org.nuxeo.ecm.core.cache.CacheService">
          <cache name="vocab-WorkflowType-cache">
            <option name="maxSize">1000</option>
            <option name="concurrencyLevel">500</option>
            <ttl>1h</ttl>
          </cache>
          <cache name="vocab-WorkflowType-cache-without-references">
            <option name="maxSize">1000</option>
            <option name="concurrencyLevel">500</option>
            <ttl>1h</ttl>
          </cache>
        </extension>
    • nuxeo-web-ui-2025.22.0-rc.3.jar /OSGI-INF/webui-announcement-contrib.xml
      <extension point="caches" target="org.nuxeo.ecm.core.cache.CacheService">
          <cache name="webUIAnnouncement-entry-cache">
            <ttl>10</ttl>
            <option name="maxSize">1</option>
            <option name="concurrencyLevel">10</option>
          </cache>
          <cache name="webUIAnnouncement-entry-cache-without-references">
            <ttl>10</ttl>
            <option name="maxSize">1</option>
            <option name="concurrencyLevel">10</option>
          </cache>
        </extension>